using ActorSystem;
using System;

namespace ActorTest
{
    class ActorPing : Actor
    {
        public Id PongId
        {
            get;
            set;
        }

        public override void Work()
        {
            //Send msg to receive actor
            Console.WriteLine("HELLO FROM ActorImpl: ActorPing "+LocalId);
            Console.WriteLine("PING: " + LocalId.ToString());
            Id to = PongId;
            to.ActorIdentifier = 35287174;
            to.Host = "fe80::5d68:5e35:8152:6ccb%11";
            Send(to, "HEJ MED DIG");
        }
    }
}
